PDF Plugin for Xojo

Page.CreateLinkAnnotation Method (console safe)

Creates a Link annotation. Link annotations are used to create clickable zones to link to a different location within the PDF document.

CreateLinkAnnotation(
   target as Destination,
   left as Single,
   top as Single,
   right as Single,
   bottom as Single) as LinkAnnotation

Parameters

target
The target destination within the PDF document.
left
Left coordinate of the annotation.
top
Top coordinate of the annotation. Bottom coordinate of the annotation.
right
Right coordinate of the annotation.
bottom
Bottom coordinate of the annotation. Remember in PDF then y starts from bottom.

Returns

LinkAnnotation
The new Link annotation or nil if the target parameter was nil.

Remarks

See Also

Page Class